﻿package com.victim.snake.style{
	import fl.managers.StyleManager;
	import flash.text.TextFormat;
	import flash.text.TextFormatAlign;

	
	//文字样式
	public class TextStyle{
		
		
		public function TextStyle() {			
			
			
		}
		
		//房间用户名样式
		static public function getShowPlayerSpritePlayerNameStyle():Object{
			var roomPlayerNameStyle:TextFormat=new TextFormat();
			//roomPlayerNameStyle.bold=true;
			roomPlayerNameStyle.color=0x000000;
			roomPlayerNameStyle.align=TextFormatAlign.CENTER;			
			return roomPlayerNameStyle;
		}
		
		static public function getShowPlayerSpriteMasterStatusStyle():Object{
			var roomPlayerNameStyle:TextFormat=new TextFormat();
			roomPlayerNameStyle.bold=true;
			roomPlayerNameStyle.color=0x3f6300;
			roomPlayerNameStyle.align=TextFormatAlign.CENTER;			
			roomPlayerNameStyle.size=12;
			return roomPlayerNameStyle;
		}
		
		
		
		static public function getRoomSpriteModeCounterLableStyle():Object{
			var roomSpriteMapLableStyle:TextFormat=new TextFormat();
			roomSpriteMapLableStyle.bold=true;
			roomSpriteMapLableStyle.color=0xffffff;
			roomSpriteMapLableStyle.size=12;
			return roomSpriteMapLableStyle;
		}
		
		static public function getRoomSpriteMapLableStyle():Object{
			var roomSpriteMapLableStyle:TextFormat=new TextFormat();
			roomSpriteMapLableStyle.bold=true;
			roomSpriteMapLableStyle.color=0xffffff;
			roomSpriteMapLableStyle.size=12;
			return roomSpriteMapLableStyle;
		}
		
		static public function getRoomSpriteModeLableStyle():Object{
			var roomSpriteMapLableStyle:TextFormat=new TextFormat();
			roomSpriteMapLableStyle.bold=true;
			roomSpriteMapLableStyle.color=0xffffff;
			roomSpriteMapLableStyle.size=12;
			return roomSpriteMapLableStyle;
		}
		
		static public function getShowPlayerSpriteUnReadyStatusStyle():Object{
			var roomPlayerNameStyle:TextFormat=new TextFormat();
			roomPlayerNameStyle.bold=false;
			roomPlayerNameStyle.color=0x3f6300;
			roomPlayerNameStyle.size=12;
			roomPlayerNameStyle.align=TextFormatAlign.CENTER;			
			return roomPlayerNameStyle;
		}
		
		static public function getShowPlayerSpriteReadyStatusStyle():Object{
			var roomPlayerNameStyle:TextFormat=new TextFormat();
			roomPlayerNameStyle.bold=true;
			roomPlayerNameStyle.color=0x3f6300;
			roomPlayerNameStyle.size=12;
			roomPlayerNameStyle.align=TextFormatAlign.CENTER;			
			return roomPlayerNameStyle;
		}
		
		static public function getRoomIdStyle():Object{
			var roomIdStyle:TextFormat=new TextFormat();
			roomIdStyle.bold=true;
			roomIdStyle.color=0xffffff;
			roomIdStyle.align=TextFormatAlign.CENTER;			
			return roomIdStyle;
		}
		
		static public function getDefaultLableStyle():Object{
			var lableDfStyle:TextFormat=new TextFormat();
			return lableDfStyle;
		}
		
		static public function getRoomTitleStyle():Object{
			var roomTitleStyle:TextFormat=new TextFormat();
			roomTitleStyle.bold=true;
			roomTitleStyle.color=0xffffff;
			roomTitleStyle.align=TextFormatAlign.RIGHT;			
			return roomTitleStyle;
		}
		
		static public function getMainChatInputStyle():Object{
			var mainChatInputStyle:TextFormat=new TextFormat();
			mainChatInputStyle.color=0xffffff;
			return mainChatInputStyle;
		}
		
		static public function getChatComboBoxStyle():Object{
			var chatComboBoxStyle:TextFormat=new TextFormat();
			chatComboBoxStyle.color=0xffffff;
			chatComboBoxStyle.bold=true;
			//chatComboBoxStyle.align=TextFormatAlign.CENTER;
			return chatComboBoxStyle;
			
		}

	}
	
}
